package com.example.work4

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.ImageView
import com.example.work4.common.ImageUtil
import com.example.work4.view.StatusBar

class ImageActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_image)
        StatusBar.setStatusBarAsBlack(window)
        str= intent?.getStringExtra("imageUri")
        imageView=findViewById(R.id.big_image)
        imageView?.let {
            var mGlide=ImageUtil(this)
            str?.let { it1 -> mGlide.GlideLoadFitCenter(it1, imageView!!) }
        }

    }
    var str:String?=null
    var imageView: ImageView?=null

    fun downLoad(v: View){

    }
}